package com.engine4cloud.tdf.education.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 课程学组关系
 *
 * @author wenjie
 * @date 2024-07-30 14:57:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "课程学组关系")
public class EduCourseGroupQueryDTO implements Serializable {

    /**
     * 主键
     */

    @Schema(description = "主键")
    private Long id;

    /**
     * 课程编号
     */
    @Schema(description = "课程编号")
    private String courseCode;

    /**
     * 学组编号
     */
    @Schema(description = "学组编号")
    private String groupCode;

    public EduCourseGroupQueryDTO(String courseCode) {
        this.courseCode = courseCode;
    }

}